﻿using System;
using WorkLogger.Client.DataAccess.Model;

namespace WorkLogger.Client {
	public static class LunchTimeExtensions {
		public static TimeSpan GetDuration(this LunchTime lunchTime) {
			return lunchTime.EndLunch - lunchTime.StartLunch;
		}
	}
}